/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

import request from '@/utils/request';

export async function getWhiteList(params: any) {
  return request('/Inn/getPhoneWhiteList', {
    method: 'POST',
    data: params,
  });
}

export async function getWhiteListInfo(params: any) {
  return request('/Inn/searchPhoneWhiteList', {
    method: 'POST',
    data: params,
  });
}

export async function addWhiteList(params: any) {
  return request('/Inn/addPhoneWhiteList', {
    method: 'POST',
    data: params,
  });
}

export async function removeWhiteList(params: any) {
  return request('/Inn/deletePhoneWhiteList', {
    method: 'POST',
    data: params,
  });
}
